package com.base.service;

import com.base.po.voip.WebPayOrder;
import com.base.po.voip.WebPayOrderExample;
import com.base.utils.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface WebPayOrderService {
    int countByExample(WebPayOrderExample example);

    int deleteByExample(WebPayOrderExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(WebPayOrder record);

    int insertSelective(WebPayOrder record);

    List<WebPayOrder> selectByExample(WebPayOrderExample example);

    WebPayOrder selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") WebPayOrder record, @Param("example") WebPayOrderExample example);

    int updateByExample(@Param("record") WebPayOrder record, @Param("example") WebPayOrderExample example);

    int updateByPrimaryKeySelective(WebPayOrder record);

    int updateByPrimaryKey(WebPayOrder record);

    WebPayOrder selectByOrderNum(String orderNum);

    Integer countByMobile(String mobile, String parentid);

    List<WebPayOrder> selectByMobile(Page page, String mobile, String parentid);
}
